package protocol.registration;

import java.io.DataOutputStream;
import java.io.IOException;

public class PrinterRegistrationRequest {

	private int m_ID;
	private int m_printerID;
	private int m_clientID;
	
	public PrinterRegistrationRequest(int ID, int printerID, int clientID)
	{
		m_ID = ID ; 
		m_printerID = printerID;
		m_clientID = clientID;
		
	}
	
	public DataOutputStream write(DataOutputStream dos) throws IOException
	{
		dos.writeInt(m_ID);
		dos.writeInt(m_printerID);
		dos.writeInt(m_clientID);
		
		return dos;
	}
}
